package com.yunzone.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringBootApplication
@MapperScan(value={"com.yunzone.cloud.modules.**.dao"})
//MapperScan用于避免每个mapper接口上多谢@Mapper接口
@EnableDiscoveryClient
//该注解用于向consul或者zk作为注册中心时注册服务
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class);
    }
}
